{template header.html}
<script type="text/javascript">
    $(function(){
        {if $result_error}
            dr_tips('{$result_error.msg}', 3);
            {/if}
            });
            function dr_send_sms() {
                $.post("{dr_member_url('account/sendsms')}&phone="+$("#dr_phone").val(), function(data){
                    if (data.status == '1') {
                        dr_tips(data.code, 3, 1);
                    } else {
                        dr_tips(data.code);
                    }
                }, 'json');
            }
</script>
<div class="content clearfix">
    {template "navigator.html"}
    <div class="article">
        <div class="section">
            <div class="title"><strong>{$meta_name}</strong></div>
            <div class="main">
                <form action="" method="post">
                    <table width="100%" class="table_form">
                        {if $member.groupid == 2 && !$member.bang}
                        <tr>
                            <th width="160">提示： </th>
                            <td>您是通过快捷登录的，需要绑定邮箱、设置密码</td>
                        </tr>
                        <tr>
                            <th width="160">账号： </th>
                            <td>{$member.username}</td>
                        </tr>
                        <tr>
                            <th><font color="red">*</font>&nbsp;邮箱： </th>
                            <td><input class="input-text" type="text" name="member[email]" value="" style="width:200px;" required="required" /></td>
                        </tr>
                        <tr>
                            <th><font color="red">*</font>&nbsp;密码： </th>
                            <td><input class="input-text" type="password" name="member[password]" value="" style="width:200px;" required="required" /></td>
                        </tr>
                        {else if $member.groupid == 2 && $member.bang}
                        <tr>
                            <th width="160">提示： </th>
                            <td>您是通过快捷登录的，需要创建账号、绑定邮箱、设置密码</td>
                        </tr>
                        <tr>
                            <th width="160"><font color="red">*</font>&nbsp;账号： </th>
                            <td><input class="input-text" type="text" name="member[username]" value="" style="width:200px;" required="required" /></td>
                        </tr>
                        <tr>
                            <th><font color="red">*</font>&nbsp;邮箱： </th>
                            <td><input class="input-text" type="text" name="member[email]" value="" style="width:200px;" required="required" /></td>
                        </tr>
                        <tr>
                            <th><font color="red">*</font>&nbsp;密码： </th>
                            <td><input class="input-text" type="password" name="member[password]" value="" style="width:200px;" required="required" /></td>
                        </tr>
                        {else}
                        <tr>
                            <th width="160">邮箱： </th>
                            <td>{$member.email}</td>
                        </tr>
                        {/if}
                        {$myfield}
                        <tr>
                            <th style="border-bottom:none">&nbsp;</th>
                            <td style="border-bottom:none;padding-top: 20px;"><div class="mbutton"><button value="" type="submit" class="blue_button">保存</button></div></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
{template footer.html}